package cn.wolfcode.redis;

import cn.wolfcode.domain.User;

/**
 * 用户缓存服务接口
 */
public interface IUserInfoRedisService {

    void sendVerifyCode(String phone, String code1);

    String getVerifyCode(String key);

    String setToken(User user);

    User getUserByToken(String token);

    User getUserInfoByToken(String token);
}
